package com.htu.dao;

import com.htu.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserDao
{
    List<User> queryUserAll();

    boolean insertUser(User user);

    User queryUser(int id, String password);

    User queryUserById(int id);

    boolean updateUser(User user);

    boolean updatePassword(int id, String password);

}
